package top.vchao.mywebview.bean;

import java.util.List;

/**
 * @ Create_time: 2018/4/16 on 15:58.
 * @ description：
 * @ author: vchao  blog: http://blog.csdn.net/zheng_weichao
 */
public class Test {

    /**
     * code : 1
     * message : SUCCESS
     * data : [{"id":"97","title":"\u201c内涵段子\u201d\u201c奇葩大会\u201d走了，还被要求举一反三！","creat_time":"2018-04-12 13:55:40","desc":"\u201c内涵段子\u201d\u201c奇葩大会\u201d走了，还被要求举一反三！","image_url":null,"type":"1","status":"0","city_code":null},{"id":"96","title":"\u201c内涵段子\u201d\u201c奇葩大会\u201d走了，还被要求举一反三！","creat_time":"2018-04-12 13:50:15","desc":"\u201c内涵段子\u201d\u201c奇葩大会\u201d走了，还被要求举一反三！","image_url":null,"type":"1","status":"0","city_code":null},{"id":"94","title":"逸掌帮开创秦皇岛洗车行业新标准","creat_time":"2018-04-09 13:08:05","desc":"逸掌帮开创秦皇岛洗车行业新标准","image_url":null,"type":"1","status":"0","city_code":null}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    @Override
    public String toString() {
        return "code: " + code + "size: "+data.size();
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 97
         * title : “内涵段子”“奇葩大会”走了，还被要求举一反三！
         * creat_time : 2018-04-12 13:55:40
         * desc : “内涵段子”“奇葩大会”走了，还被要求举一反三！
         * image_url : null
         * type : 1
         * status : 0
         * city_code : null
         */

        private String id;
        private String title;
        private String creat_time;
        private String desc;
        private Object image_url;
        private String type;
        private String status;
        private Object city_code;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCreat_time() {
            return creat_time;
        }

        public void setCreat_time(String creat_time) {
            this.creat_time = creat_time;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public Object getImage_url() {
            return image_url;
        }

        public void setImage_url(Object image_url) {
            this.image_url = image_url;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public Object getCity_code() {
            return city_code;
        }

        public void setCity_code(Object city_code) {
            this.city_code = city_code;
        }
    }
}
